﻿/*reset*/
html, body, div, dl, dt, dd, ul, ol, li, p{
    margin:0;
    padding:0;
}

li{list-style:none;}
html, body, fieldset, img, iframe, abbr{border:0;}
/*img{vertical-align:top;}*/
a, button{cursor:pointer;}
/*a{color:#333;outline:none;text-decoration:none;};*/
a:focus{ /*color:#333;*/
     outline:none; 
     -moz-outline:none;
}

.kf {
    width: 70px;
    min-height: 170px;
    position: fixed;
    right: 15px;
    /*top: 200px;*/
    top: 300px;
    border-radius: 6px;
    background: #2087ed;
    color: #fff;
    z-index: 999;
}

.kf .wechat {
    cursor: pointer;
    position: relative;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    border-bottom: 1px solid #4a96e1;
    font-size: 12px;
}

.kf .wechat .block {
    position: absolute;
    display: none;
    margin: 0;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.kf .wechat .block img {
    width: 100px;
}

.kf .wechat p {
    margin-top: 10px;
}

.kf .wechat img {
    margin-top: 10px;
	vertical-align:top;/*新增*/
}

.kf .wechat:hover {
    background: #4a96e1;
}

.kf .wechat:last-child {
    border-bottom: none;
}

.kf .wechat:nth-child(1):hover .block {
    left: -120px;
    top: 0px;
    display: block;
}

.kf .wechat:nth-child(2):hover .block {
    display: block;
    left: -127px;
    top: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.kf .wechat:nth-child(2):hover .block .btn {
    background: #2087ed;
    line-height: 31px;
    color: #fff;
    border-radius: 3px;
    margin: 0 10px;
    padding: 0 10px;
}

.kf .wechat:nth-child(2):hover .block .btn img {
    width: 14px;
    height: 14px;
    float: left;
    margin-top: 8px;
    margin-right: 5px;
}

.kf .wechat:nth-child(2):hover .block .btn span {
    float: left;
}

.kf .wechat:nth-child(2):hover .block .btn:after {
    content: "";
    display: block;
    clear: both;
}

.kf .wechat:nth-child(2):hover .block p {
    color: #666;
    font-weight: bold;
}

.kf .wechat:nth-child(3):hover .block {
    display: block;
}